@echo off
@REM 非延迟扩展输出10
setlocal ENABLEDELAYEDEXPANSION
set /A n=0
for %%i in  (2, 3, 5) do (
  set /A n = !n! + %%i
)
echo %n%